package com.heima.media.service;

import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.WmMaterialDto;
import com.heima.media.entity.WmMaterial;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;


public interface IWmMaterialService extends IService<WmMaterial> {

    ResponseResult<WmMaterial> uploadPicture(MultipartFile file);


    ResponseResult<WmMaterial> listByCollection(WmMaterialDto dto);

    ResponseResult upload(MultipartFile file);
}
